home *** CD-ROM | disk | FTP | other *** search
/ 130 MIDI Tool Box / 130 MIDI Tool Box.iso / drum / drumdll.h < prev    next >
C/C++ Source or Header  |  1992-02-13  |  737b  |  28 lines

  1. /*-------------------------------------------------------
  2.    DRUMDLL.H header file for DLL module for DRUM program
  3.   -------------------------------------------------------*/
  4.  
  5. #define NUM_PERC         47
  6. #define WM_USER_NOTIFY   (WM_USER + 1)
  7. #define WM_USER_FINISHED (WM_USER + 2)
  8. #define WM_USER_ERROR    (WM_USER + 3)
  9.  
  10. typedef struct
  11.      {
  12.      int   iMsecPerBeat ;
  13.      int   iVelocity ;
  14.      int   iNumBeats ;
  15.      DWORD dwSeqBas [NUM_PERC] ;
  16.      DWORD dwSeqExt [NUM_PERC] ;
  17.      }
  18.      DRUM ;
  19.  
  20. typedef DRUM FAR *PDRUM ;
  21.  
  22. extern "C"
  23.      {
  24. void FAR PASCAL _export DrumSetParams     (PDRUM) ;
  25. BOOL FAR PASCAL _export DrumBeginSequence (HWND)  ;
  26. void FAR PASCAL _export DrumEndSequence   (BOOL)  ;
  27.      }
  28.